/* ApplicationContext.java
 * Author: liuex
 * 2007-12-19 ����01:38:49
 *
 * Note: 
 */
package org.lex.app;

import javax.swing.ActionMap;

public class ApplicationContext extends SharedApplicationContext {
	private ActionManager actionManager = null;

	public ApplicationContext(Application application) {
		this(application.getApplicationID());
	}

	public ApplicationContext(String appid) {
		super(appid);
		this.actionManager = new ActionManager();
	}

	public ActionMap getActionMap() {
		return this.actionManager.getActionMap();
	}

	public ActionManager getActionManager() {
		return this.actionManager;
	}
}
